{template "header.html"}
<div class="note note-danger">
    <p>{dr_lang('用于平台发起收款主题，例如募捐、报名等')}</p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">

    <div class="portlet bordered light ">
        <div class="portlet-title">
            <div class="caption">
                <span class="caption-subject font-green sbold ">{dr_lang('收款内容')}</span>
            </div>

            <div class="actions">
                <div class="btn-group">
                    <a class="btn" href="{$reply_url}"> <i class="fa fa-mail-reply"></i> {dr_lang('返回列表')}</a>
                </div>
            </div>
        </div>
        <div class="portlet-body">
            <div class="form-body">


                <div class="form-group">
                    <label class="control-label col-md-2">统计次数</label>
                    <div class="col-md-9"><div class="form-control-static"> {$data.nums} </div></div>
                </div>
                <div class="form-group">
                    <label class="control-label col-md-2">统计金额</label>
                    <div class="col-md-9"><div class="form-control-static"> {$data.total} </div></div>
                </div>
                {$myfield}

            </div>
        </div>
        </div>
    <div class="portlet bordered light myfbody">
        <div class="portlet-title">
            <div class="caption">
                <span class="caption-subject font-green sbold ">{dr_lang('付款信息')}</span>
            </div>
        </div>
        <div class="portlet-body">
            <div class="table-scrollable">
                <table class="table table-striped table-bordered table-hover table-checkable dataTable">
                    <thead>
                    <tr class="heading">
                        <th style="text-align: left;padding-left:8px" width="150" >{dr_lang('下单时间')}</th>
                        <th style="text-align:center" width="90">{dr_lang('付款方式')}</th>
                        <th style="text-align:center" width="90">{dr_lang('付款状态')}</th>
                        <th>{dr_lang('金额')}</th>
                        <th>{dr_lang('用户')}</th>
                    </tr>
                    </thead>
                    <tbody>
                    {loop $list $t}
                    <tr class="odd gradeX">
                        <td style="text-align: left;padding-left:8px">{dr_date($t.inputtime)}</td>
                        <td style="text-align:center">{dr_pay_type_html($t.type)}</td>
                        <td style="text-align:center">{php echo \Phpcmf\Service::M('Pay')->paystatus($t)}</td>
                        <td>{Function_list::price(abs($t.value))}</td>
                        <td><a href="javascript:;" class="fc_member_show" member="{$t.username}">{$t.username}</a></td>
                    </tr>
                    {/loop}
                    </tbody>
                </table>
            </div>

            {if $mypages}
            <div class="fc-pages text-center">{$mypages}</div>
            {/if}
        </div>
    </div>

</form>

{template "footer.html"}